package com.example.demo.mapper;

import java.util.List;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import com.example.demo.model.Tea;

@Mapper
public interface TeaMapper {
	Boolean insert(Tea tea);

	List<Tea> select();
	Tea selectone(Integer id);

	Boolean delete(Integer id);

	Integer update(@Param("id")Integer id,@Param("tea")Tea tea);

	
}
